package com.qcby.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class User {
    private Integer id;
    private String username;
    private String password;
    private Integer isOwner;
    private String icon;
    private Integer LikeCount;
    private Integer CheckCount;
    private Integer status;
    private Integer reviewCount;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createdTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date lastLoginTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date ReTime;
    private String email;
    private String description;
    private String phone;
    private String idCard;
    private String idCardImg;
    private String aduitReason;
    private String aduitExperience;
    private String businessLicense;
    private String realname;
    private String gender;
    private String age;
    private String verifyImg;
    private String userId;
    private String aduitTime;
    private String aduitPerson;
    private String aduitDesc;
    private String businessPlan;
    private String account;
}
